PM Distribution History File (PM30600)

azurecurveProductsMicrosoft Dynamics GP (0)PurchasingPM Distribution History File (PM30600)

Easily find this page again using the shortlink: https://gpt.azrcrv.co.uk/PM30600

Product: Microsoft Dynamics GP (0)
Series: Purchasing

Display Name: PM Distribution History File
Physical Name: PM30600
Technical Name: PM_Distribution_HIST

Group Display Name: Payables History Logical Files
Group Technical Name: PM_History_Logical_Files

Seq NoPhysical NameDisplay NameDexterity Data TypeSQL Data TypeLength
1DOCTYPE SearchDocument TypeIntegerDDL_Document_Type0

Click to show/hide Document Types


1	Invoice
2	Finance Charge
3	Miscellaneous Charges
4	Return
5	Credit Memo
2VCHRNMBR SearchVoucher NumberStringSTR20_LBAU20
Partial key to the PM Key Master File (PM00400).

Click to show/hide

SELECT
       ['PM Distribution History File'].VCHRNMBR AS 'PM Distribution History File-Voucher Number'
       ,['PM Key Master File'].CNTRLNUM AS 'PM Key Master File-Control Number'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       PM00400 AS ['PM Key Master File']
              ON
                     ['PM Distribution History File'].VCHRNMBR = ['PM Key Master File'].CNTRLNUM
              AND
                     ['PM Distribution History File'].DOCTYPE = ['PM Key Master File'].DOCTYPE
3DSTSQNUM SearchDistribution Sequence NumberLong IntegerLong Int8
4CNTRLTYP SearchControl TypeIntegerINT11
The Control Type records the type of transaction.

Click to show/hide Control Types

0	Voucher types
1	Payment types
2	Printed alignment forms
5CRDTAMNT SearchCredit AmountCurrencyDLR19_$S219
6DEBITAMT SearchDebit AmountCurrencyDLR19_$S219
7DSTINDX SearchDistribution Account IndexLong IntegerLI_1414
Key to the Account Index Master (GL00105).

Click to show/hide

SELECT
       ['PM Distribution History File'].DSTINDX AS 'PM Distribution History File-Distribution Account Index'
       ,['Account Index Master'].ACTINDX AS 'Account Index Master-Account Index'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       GL00105 AS ['Account Index Master']
              ON
                     ['PM Distribution History File'].DSTINDX = ['Account Index Master'].ACTINDX
8DISTTYPE SearchDistribution TypeIntegerDDL0

Click to show/hide Distribution Type


1	Cash			
2	Payable			
3	Discount Available		
4	Discount Taken		
5	Finance Charge	
6	Purchase
7	Trade Disc.
8	Misc. Charge
9	Freight
10	Taxes
11	Writeoffs
12	Other
13	GST Disc
14	PPS Amount
9CHANGED SearchChangedBooleanYN0
10USERID SearchUser IDStringSTR15_User_ID15
Key to the Users Master (SY01400).

Click to show/hide

SELECT
       ['PM Distribution History File'].USERID AS 'PM Distribution History File-User ID'
       ,['Users Master'].USERID AS 'Users Master-User ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..SY01400 AS ['Users Master']
              ON
                     ['PM Distribution History File'].USERID = ['Users Master'].USERID
11PSTGSTUS SearchPosting StatusIntegerINT0
12VENDORID SearchVendor IDStringSTR_15_Vendor_ID15
Key to the PM Vendor Master File (PM00200).

Click to show/hide

SELECT
       ['PM Distribution History File'].VENDORID AS 'PM Distribution History File-Vendor ID'
       ,['PM Vendor Master File'].VENDORID AS 'PM Vendor Master File-Vendor ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       PM00200 AS ['PM Vendor Master File']
              ON
                     ['PM Distribution History File'].VENDORID = ['PM Vendor Master File'].VENDORID
13TRXSORCE SearchTRX SourceStringSTR1313
14PSTGDATE SearchPosting DateDateDT8
15CURNCYID SearchCurrency IDStringSTR15_Currency_ID15
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Distribution History File'].CURNCYID AS 'PM Distribution History File-Currency ID'
       ,['Currency Setup'].CURNCYID AS 'Currency Setup-Currency ID'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Distribution History File'].CURNCYID = ['Currency Setup'].CURNCYID
16CURRNIDX SearchCurrency IndexIntegerINT33
Key to the Currency Setup (MC40200).

Click to show/hide

SELECT
       ['PM Distribution History File'].CURRNIDX AS 'PM Distribution History File-Currency Index'
       ,['Currency Setup'].CURRNIDX AS 'Currency Setup-Currency Index'
FROM
       PM30600 AS ['PM Distribution History File']
INNER JOIN
       DYNAMICS..MC40200 AS ['Currency Setup']
              ON
                     ['PM Distribution History File'].CURRNIDX = ['Currency Setup'].CURRNIDX
17ORCRDAMT SearchOriginating Credit AmountCurrencyDLR19_$S219
18ORDBTAMT SearchOriginating Debit AmountCurrencyDLR19_$S219
19APTVCHNM SearchApply To Voucher NumberStringSTR20_LBAU20
20APTODCTY SearchApply To Document TypeIntegerDDL_Document_Type0
21SPCLDIST SearchSpecialized DistributionIntegerINT44
22DistRef SearchDistribution ReferenceStringSTR3030
azurecurveProductsMicrosoft Dynamics GP (0)PurchasingPM Distribution History File (PM30600)

Leave a Reply

Your email address will not be published. Required fields are marked *